package com.dingreading.cloud.admin.service;

import com.dingreading.cloud.admin.entity.StoreProductLogs;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2023-11-22
 */
public interface StoreProductLogsService extends IService<StoreProductLogs> {

    int dropByProductUid(String uid);

    List<StoreProductLogs> listByStoreUidAndProductUid(String uid);

    List<StoreProductLogs> listByProductUids(List<String> productUids);

    boolean haveProjectUid(String projectUid);

    void updateEnabledByProductUid(String productUid, Integer enabled, String staffUid, String staffName);

}
